package com.youlai.boot.common.enums;

import com.youlai.boot.common.base.IBaseEnum;
import lombok.Getter;

/**
 * 数据权限枚举
 *
 * @author haoxr
 * @since 2.3.0
 */
@Getter
public enum WeekEnum implements IBaseEnum<Integer> {

    /**
     * value 越小，数据权限范围越大
     */
    Monday("一",2),
    Tuesday("二",3),
    Wednesday( "三",4),
    Thursday( "四",5),
    Friday("五",6),
    Saturday("六",7),
    Sunday("日",1);

    private final String label;
    private final Integer value;


    WeekEnum(String label,Integer value) {
        this.label = label;
        this.value = value;
    }

}
